package jdumper;

import java.awt.Color;

import javax.swing.JButton;
import javax.swing.JFrame;
import jpcap.packet.*;


public class Boxx{
	
	int xPoint,yPoint;
	int wBox,hBox;
	int indexBox;
	String boxName;
	Color boxcolor;
	boolean currentBox;
	
	Boxx(int index){
		this.indexBox = index;
		this.wBox = 70;
		this.hBox = 45;
		this.currentBox = false;
	}
	
	void setPoint(int x,int y){
		this.xPoint = x;
		this.yPoint = y;
	}
	void setSize(int x,int y)
	{
		this.wBox= x;
		this.hBox = y;
	}
	void onCurrent(){
		this.currentBox = true;
		this.setSize(100, 60);
	}
	void offCurrent(){
		this.currentBox = false;
		this.setSize(70, 45);
	}

}
	

	

